<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>河南志信科技有限公司管理系统</title>
  <link rel="stylesheet" href="/grbk/Public/css/admin.css">
  <link rel="stylesheet" href="/grbk/Public/layui/css/layui.css">
  <script src="/grbk/Public/layui/layui.js"></script>
</head>
<body>
<div class="header">
<h2 class="z cl"><a href="<?php echo U('index/index');?>">
河南志信网站后台管理系统
</a></h2>
<div class="y cl">
<a target="_blank" href="">欢迎您：<?php echo (session('username')); ?></a>
<a target="_blank" href="http://www.xiaocaoblog.top/">网站首页</a>
<a href="<?php echo U('Login/logout');?>">退出</a>
</div>
</div>
<div class="admin">
<div class="aleft">
<h3><i class="layui-icon" style="position: relative;right: 3px;top: 1px;font-size: 18px;color: #009688;">&#xe643;</i>操作菜单</h3>
<ul class="cl">
<li><i class="layui-icon">&#xe601;</i><a href="<?php echo U('navtop/index');?>">导航管理</a></li>
<li><i class="layui-icon">&#xe61f;</i><a href="<?php echo U('category/index');?>">栏目管理</a></li>
<li><i class="layui-icon">&#xe63c;</i><a href="<?php echo U('article/index');?>">文章管理</a></li>
<li><i class="layui-icon">&#xe61d;</i><a href="<?php echo U('product/index');?>">产品管理</a></li>
<li><i class="layui-icon">&#xe60c;</i><a href="<?php echo U('bannerr/view');?>">幻灯管理</a></li>
<li><i class="layui-icon">&#xe64e;</i><a href="<?php echo U('links/index');?>">友情连接</a></li>
</ul>
<h3><i class="layui-icon" style="position: relative;right: 3px;top: 1px;font-size: 18px;color: #009688;">&#xe614;</i>系统管理</h3>
<ul class="cl">
<li><i class="layui-icon">&#xe62c;</i><a href="<?php echo U('conf/index');?>">网站配置</a></li>
<li><i class="layui-icon">&#xe631;</i><a href="<?php echo U('member/index');?>">密码修改</a></li>
<li><i class="layui-icon">&#xe640;</i><a href="<?php echo U('runtime/index');?>">清理缓存</a></li>
<li><i class="layui-icon">&#x1006;</i><a href="<?php echo U('Login/logout');?>">立即退出</a></li>
</ul>
<h3><i class="layui-icon" style="position: relative;right: 3px;top: 1px;font-size: 18px;color: #009688;">&#xe612;</i>音乐设置</h3>
</div>
<div class="aright">

<fieldset class="layui-elem-field layui-field-title" style="margin: 20px 30px 20px 20px;">
  <legend>幻灯管理</legend>
</fieldset>

<form class="layui-form bform" method="post" action="<?php echo ($url); ?>" enctype="multipart/form-data">
   

   <div class="layui-form-item">
    <label class="layui-form-label">幻灯标题1</label>
    <div class="layui-input-block">
      <input type="text" name="atitle" value="<?php echo ($b["atitle"]); ?>" required lay-verify="required" placeholder="请输入内容" autocomplete="off" class="layui-input">
    </div>
   </div>

   <div class="layui-form-item">
    <label class="layui-form-label">幻灯连接1</label>
    <div class="layui-input-block">
      <input type="text" name="alink" value="<?php echo ($b["alink"]); ?>" placeholder="请输入内容" autocomplete="off" class="layui-input">
    </div>
   </div>

   <div class="layui-form-item">
    <label class="layui-form-label">幻灯图1</label>
     <div class="layui-input-block">
     <div class="file-box">
     <i class="layui-icon">&#xe61f;</i>
     <input class="file-btn" type="button" value="选择图片" required lay-verify="required"> 
     <input class="file-txt" type="text" required lay-verify="required" autocomplete="off" name="textfield" id="textfield">
     <?php if($b[apic] != ''): ?><img src="/grbk/Uploads<?php echo ($b["apic"]); ?>" height="50"><?php endif; ?>
     <input class="file-file" type="file" name="apic" id="apic" size="28" onchange="document.getElementById('textfield').value=this.value" /> 
     </div>
     </div>
   </div>

  <div class="layui-form-item" style="margin-top: 30px;">
    <div class="layui-input-block">
	  <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
    </div>
  </div>

</form>
<script>
layui.use('form', function(){
  var form = layui.form();
});
</script>
</div>
</div>
</body>
</html>